fix(ci): disable toolchain cache in release-binaries#462
Conversation
… shim failures moonrepo/setup-toolchain's cache intermittently restores broken shims on macOS and Windows — proto reports tools as installed but they're not on PATH. Disabling the cache for release-binaries (runs once per release, so the ~15s install penalty is negligible) eliminates the flakiness entirely. Also adds cache-version keyed to $ImageOS on cached workflows as a defensive measure against runner image upgrades invalidating the cache. Claude-Session: https://claude.ai/code/session_01RumFmYvyyM3Vsfpfm5pSP9 Signed-off-by: Rhuan Barreto <rhuan@barreto.work>
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_4d32050f-ba30-4546-9882-37f71b0a89ad) |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (6)
📜 Recent review details⏰ Context from checks skipped due to timeout. (2)
|
| Area | Change |
|---|---|
.github/actions/setup-bun-project/action.yml |
Adds cache-version: ${{ env.ImageOS }} to setup-toolchain step |
.github/workflows/release.yml |
Adds cache-version to check, pull-request, and release jobs |
.github/workflows/update-llms.yaml |
Adds cache-version to setup-toolchain step |
.github/workflows/update-lock.yaml |
Adds cache-version to setup-toolchain step |
.github/workflows/release-binaries.yml |
Adds cache: false to setup-toolchain step in build job |
.claude/agent-memory/archgate-developer/project_release_pipeline_gotchas.md |
Updates documented root cause and fix for cache bug |
Related Issues: Unable to determine from provided context.
Related PRs: None identified.
Suggested labels: ci, documentation
Suggested reviewers: Unable to determine from provided context.
Poem:
A rabbit hops through workflow files,
Adding versions, cache reconciles,
ImageOS now marks the key,
No stale shims to trouble thee,
Gotchas doc gets one more fix,
Hop, commit, and CI ticks. 🐰
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
| Check name | Status | Explanation |
|---|---|---|
| Title check | ✅ Passed | The title matches the main change by disabling toolchain cache for release-binaries CI. |
| Description check | ✅ Passed | The description is directly related and accurately describes the caching changes and test plan. |
| Docstring Coverage | ✅ Passed | No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. |
| Linked Issues check | ✅ Passed | Check skipped because no linked issues were found for this pull request. |
| Out of Scope Changes check | ✅ Passed | Check skipped because no linked issues were found for this pull request. |
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Comment @coderabbitai help to get the list of available commands.
Deploying archgate-cli with
|
| Latest commit: |
eb166bf
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://599706b0.archgate-cli.pages.dev |
| Branch Preview URL: | https://claude-glimmering-inventing.archgate-cli.pages.dev |
Code Coverage
Full HTML report available in workflow artifacts. Per-directory breakdown
|
# archgate ## [0.48.1](v0.48.0...v0.48.1) (2026-07-09) ### Bug Fixes * **ci:** disable toolchain cache in release-binaries ([#462](#462)) ([a4b9829](a4b9829)) * detect and error on duplicate ADR IDs across files ([#466](#466)) ([991cc9e](991cc9e)), closes [#465](#465) --- This PR was generated with [simple-release](https://github.com/TrigenSoftware/simple-release). <details> <summary>📄 Cheatsheet</summary> <br> You can configure the bot's behavior through a pull request comment using the `!simple-release/set-options` command. ### Command Format ````md !simple-release/set-options ```json { "bump": {}, "publish": {} } ``` ```` ### Useful Parameters #### Bump | Parameter | Type | Description | |-----------|------|-------------| | `version` | `string` | Force set specific version | | `as` | `'major' \| 'minor' \| 'patch' \| 'prerelease'` | Release type | | `prerelease` | `string` | Pre-release identifier (e.g., "alpha", "beta") | | `firstRelease` | `boolean` | Whether this is the first release | | `skip` | `boolean` | Skip version bump | | `byProject` | `Record<string, object>` | Per-project bump options for monorepos | #### Publish | Parameter | Type | Description | |-----------|------|-------------| | `skip` | `boolean` | Skip publishing | | `access` | `'public' \| 'restricted'` | Package access level | | `tag` | `string` | Tag for npm publication | ### Usage Examples #### Force specific version ````md !simple-release/set-options ```json { "bump": { "version": "2.0.0" } } ``` ```` #### Force major bump ````md !simple-release/set-options ```json { "bump": { "as": "major" } } ``` ```` #### Create alpha pre-release ````md !simple-release/set-options ```json { "bump": { "prerelease": "alpha" } } ``` ```` #### Publish with specific access and tag ````md !simple-release/set-options ```json { "bump": { "prerelease": "beta" }, "publish": { "access": "public", "tag": "beta" } } ``` ```` ### Access Restrictions The command can only be used by users with permissions: - repository owner - organization member - collaborator ### Notes - The last comment with `!simple-release/set-options` command takes priority - JSON must be valid, otherwise the command will be ignored - Parameters apply only to the current release execution - The command can be updated by editing the comment or adding a new one </details> <!-- Please do not edit this comment. simple-release-pull-request: true simple-release-branch-from: release simple-release-branch-to: main --> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Summary
moonrepo/setup-toolchaincaching onrelease-binaries.ymlto eliminate intermittentbun: command not foundfailures on macOS and Windows — the cache flakily restores broken shims, and proto skips re-downloading when it sees the tool as already installedcache-version: ${{ env.ImageOS }}on workflows that still use caching, as a defensive measure against runner image upgrades staling the cacheTest plan
bun run validatepasses locally (1438 tests, 43/43 ADR rules)https://claude.ai/code/session_01RumFmYvyyM3Vsfpfm5pSP9